package com.learn._02notice.pojo.entity;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Notice {
    @ApiModelProperty(value = "通知编号", required = true, example = "1")
    private Long id;
    @ApiModelProperty(value = "通知标题", required = true)
    private String title;
    @ApiModelProperty(value = "通知内容", required = true)
    private String content;
    @ApiModelProperty(value = "通知类型", required = true, example = "1")
    private Integer type;
    @ApiModelProperty(value = "通知状态", required = true, example = "1")
    private Long userId;
    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;
    @ApiModelProperty(value = "修改时间", required = true)
    private Date updateTime;
    @ApiModelProperty(value = "状态", required = true, example = "1")
    private Integer status;
}
